from BASE.base_action import BaseAction
from page.login_page import LoginPage


class LoginOpreate(BaseAction):
    def input_username(self,text):
        self.input(LoginPage.username,text)
    def input_password(self, text):
        self.input(LoginPage.password, text)
    def input_code(self,text):
        self.input(LoginPage.code,text)
    def click_login_button(self):
        self.click(LoginPage.login_button)
